package com.neusoft.neumooc.controller;
import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.neusoft.core.common.BaseController;
import com.neusoft.core.common.conf.Params;


/**
 * @ClassName: HomeController
 * @Description: 各页调用方法
 * @author
 * @date 2016年7月26日
 */
@Controller
@RequestMapping(value = "/home")
public class HomeController extends BaseController {

	@RequestMapping(value = "/index")
	@ResponseBody
	public Map<String, Object>res(HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		String home="这是首页";
		Map<String, Object>map=new HashMap<String, Object>();
		map.put("home",home );
		return map;
	}
}